package com.yjz.log.config;

import android.util.Log;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 作用 : log类型
 * 作者 : yjz
 * 时间 : 2024/9/14 09:10
 */
public class YLogType {
    public final static int V = Log.VERBOSE;
    public final static int D = Log.DEBUG;
    public final static int I = Log.INFO;
    public final static int W = Log.WARN;
    public final static int E = Log.ERROR;
    public final static int A = Log.ASSERT;

    @IntDef({V, D, I, W, E, A})
    //保留在源码级别
    @Retention(RetentionPolicy.SOURCE)
    public @interface TYPE {
    }
}
